package com.xy.job.admin.common

const val ADMIN_MASTER_LOCK = "ADMIN_MASTER_LOCK"

const val JOB_LOCK_PREFIX = "JOB_LOCK_"

const val LOCK_NUM = 100

const val PRE_SCHEDULE_SECONDS = 5L

const val JOB_DISTRIBUTE_INTERVAL = 10L

const val NODE_EXPIRED_SECONDS = 30L

const val NODE_REFRESH_INTERVAL = NODE_EXPIRED_SECONDS / 3

const val ADMIN_NODE_NAME = "admin"

const val STANDARD_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss"